package com.mock.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="contacttype")
public class ContactType implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
	private long id;
	private String type;
	
	public ContactType() {
		super();
	}

	public ContactType(String type) {
		super();
		this.type = type;
	}

	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	@Column(name="type")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
